Repository navigation
fix: 待办列表合并为「办理人」列,修复移动端已办显示错人 - #91
Merged
Merged
Conversation
「审批人」与「身份」两列都绑定 current_operator_*,却在已办时由 render 换成 handle_operator_*;表头只写「身份」无法表达是「待办归属身份」还是 「实际办理身份」,用户容易误读成提交时锁定的 submit_operator_identity。 - PC:把「谁 + 以什么身份」合并为一列「办理人」,身份用标签区分, 空身份显示「默认身份」,避免同一列在不同 tab 下语义漂移 - 移动端:已办改为优先取 handle_operator_name/identity(此前只取 current_*,已办列表显示的是待办归属人而非实际办理人),身份改用标签展示 - PC 补齐列宽并启用横向滚动,避免窄窗口下中文列名被压成竖排 本地实测(example-dev.db):已办记录 8 的 current 身份为空、handle 为 department2,PC 与移动端均展示「张三 + department2」;待办记录 2 展示 「张三 + 默认身份」。两端 rsbuild build 通过,frontend 测试 25 例通过。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
待办列表(PC / 移动端)原来有「审批人」和「身份」两列,两列都绑定
current_operator_*,已办时再由 render 换成handle_operator_*。表头只写「身份」,无法表达是待办归属身份还是实际办理身份,容易误读成提交时锁定的submit_operator_identity。同时移动端
apps/app-mobile/src/pages/todo.tsx只取current_*,没有跟随 #306 取handle_*,导致手机上「已办」显示的是待办归属人,而不是实际办理人(PC 端在 #306 已修)。改动
handle_operator_name/handle_operator_identity,回退current_*;身份改用标签展示,与 PC 对齐。验证
本地(
example-dev.db)实测:department2✅默认身份✅department1✅pnpm -F @flow-example/app-pc build、pnpm -F @flow-example/app-mobile build均通过pnpm test25 例通过关联
后续 UI 完善,依赖 #89 / #90(已合入 dev)。